This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
Hello guys,
I have a java agent that calls a web service.
It works in eclipse but shows an error message in lotus notes. Here is the exception.
java.security.AccessControlException: Access denied (java.lang.RuntimePermission getClassLoader)
at java.security.AccessControlException.<init>(AccessControlException.java:62)
at java.security.AccessController.checkPermission(AccessController.java:68)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:533)
at COM.ibm.JEmpower.applet.AppletSecurity.superDotCheckPermission(AppletSecurity.java:1449)
at COM.ibm.JEmpower.applet.AppletSecurity.checkRuntimePermission(AppletSecurity.java:1311)
at COM.ibm.JEmpower.applet.AppletSecurity.checkPermission(AppletSecurity.java:1611)
at COM.ibm.JEmpower.applet.AppletSecurity.checkPermission(AppletSecurity.java:1464)
at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:550)
at org.apache.axiom.util.stax.dialect.StAXDialectDetector.getRootUrlForResource(StAXDialectDetector.java:89)
at org.apache.axiom.util.stax.dialect.StAXDialectDetector.getRootUrlForClass(StAXDialectDetector.java:109)
at org.apache.axiom.util.stax.dialect.StAXDialectDetector.getDialect(StAXDialectDetector.java:148)
at org.apache.axiom.om.util.StAXUtils$7.run(StAXUtils.java:518)
at java.security.AccessController.doPrivileged(AccessController.java:202)
at org.apache.axiom.om.util.StAXUtils.newXMLInputFactory(StAXUtils.java:495)
at org.apache.axiom.om.util.StAXUtils.getXMLInputFactory_perClassLoader(StAXUtils.java:566)
at org.apache.axiom.om.util.StAXUtils.getXMLInputFactory(StAXUtils.java:172)
at org.apache.axiom.om.util.StAXUtils.getXMLInputFactory(StAXUtils.java:137)
at org.apache.axiom.om.util.StAXUtils.createXMLStreamReader(StAXUtils.java:224)
at org.apache.axiom.om.impl.AbstractOMMetaFactory.createXMLStreamReader(AbstractOMMetaFactory.java:48)
at org.apache.axiom.om.impl.AbstractOMMetaFactory.createOMBuilder(AbstractOMMetaFactory.java:73)
at org.apache.axiom.om.OMXMLBuilderFactory.createOMBuilder(OMXMLBuilderFactory.java:94)
at org.apache.axiom.om.OMXMLBuilderFactory.createOMBuilder(OMXMLBuilderFactory.java:79)
at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:590)
at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:575)
at org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBuilder.java:97)
at org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:89)
at org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:857)
at org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:116)
at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210)
at org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceClient.java:151)
at org.apache.axis2.client.ServiceClient.<init>(ServiceClient.java:144)
at com.conti.intranet.LotusNotesHandlerStub.<init>(Unknown Source)
at com.conti.intranet.LotusNotesHandlerStub.<init>(Unknown Source)
at com.conti.intranet.LotusNotesHandlerStub.<init>(Unknown Source)
at com.conti.intranet.LotusNotesHandlerStub.<init>(Unknown Source)
at com.gs3.esign.agent.DPInsertAgent.NotesMain(Unknown Source)
at lotus.domino.AgentBase.runNotes(Unknown Source)
at lotus.domino.NotesThread.run(Unknown Source)
I use the generated web consumer from axis2 1.6.1.
Regards,
Philip
Note: I am familiar with the built-in tool of lotus notes for generating the web consumer, but it always give me the result of the previous web service call plus the new one, I only need the new ones. If anyone has a solution for this, that will be better.
Feedback number WEBB8MCBDJ created by ~Tate Desfreekonyings on 10/05/2011
Status: Open
Comments: